import request from "@/assets/request";

export interface Search {
  content: string;
  type: 1 | 2;
  sort: 1 | 2;
  time: 1 | 2 | 3 | 4 | 5;
  channel: number;
}
export default {
  search: (params: Search) => {
    return request.get(`/search`, params);
  },
};
